<?php

// 用户控制器
class UserController extends Controller
{
    public function index()
    {
        $db = DB::table('user');
        $this->assign('list', $db->select());
        $this->display('User/index.html');
    }
    public function add()
    {
        echo 'User Add';
    }
}